AmeliaBooking\Application\Services\User\ProviderApplicationService D

Total Complexity 214
Dependencies 26
Dependents 0
Total lines 1,525
Lines of code 838
Logical lines of code 483
Comment lines 348
Methods 23
Properties 1

Methods 23

Method Rating Maintainability Complexity Lines of code
updateProviderWorkDays()
D
28
34 128
updateProviderSpecialDays()
C
31 26 111
add()
B
33 20 93
delete()
B
41 16 50
setAvailablePeriodServicesLocations()
A
45 15 42
getProviderServiceLocations()
A
43 14 48
manageProvidersActivity()
A
44 13 43
createProvider()
A
44 8 46
getAllowedCustomers()
A
46 8 38
getProviderScheduleIntervals()
A
45 7 46
updateProviderDaysOff()
A
52 8 22
updateProviderServices()
S
50 7 30
modifyPeriodsWithSingleLocationAfterFetch()
S
52 7 26
removeAllExceptUser()
S
56 7 17
updateProviderLocations()
S
56 5 18
modifyPeriodsWithSingleLocationBeforePersist()
S
58 5 16
update()
S
57 5 16
checkIfTodayIsCompanyDayOff()
S
61 4 12
getProviderWithServicesAndSchedule()
S
59 1 15
__construct()
S
81 1 3
updateProviderGoogleCalendar()
S
70 1 7
updateProviderOutlookCalendar()
S
70 1 7
getMandatoryServicesIds()
S
75 1 4